package com.machinecontroller.constant;


import com.machinecontroller.BuildConfig;

/**
 * Created by zhangxuehui on 2017/12/22.
 */

public class UrlConstant {
    public static final String BASE_URL = BuildConfig.API_HOST;
    //getDevInfo  参数version devid  code为0成功
// {
//    "msg": "ok",
//            "code": "0",
//            "result": {
//        "carouselTime": "3000",
//                "heartTime": "3000",
//                "kanmengou": "3000",
//                "hotTime": "3000"
//    }
//}
//    第一个是轮播间隔第二个心跳第三个是看门狗第四个是热跟新
    public static final String API_CONFIG_DEV_INFO = BASE_URL + "/index.php/Home/Index/getDevInfo";
    //    1 心跳接口   getDoorStatus 参数version devid  openstatus 1正常0异常  code为0成功
    public static final String API_GET_DOOR_STATUS = BASE_URL + "/index.php/Home/Index/getDoorStatus";
    //    version  devid bno status
//{
//    "msg": "ok",
//        "code": "0"
//}
    public static final String API_SEND_DOOR_STATUS = BASE_URL + "/index.php/Home/Index/getDevBnoStatus";

}
